﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Face8280WebSocketServer.DB.Record
{
    [Table("FaceRecordNew")]
    public class FaceRecordInfo
    {
        [Key]
        public int Id { get; set; }
        public DateTime Date { get; set; }
        public int Event { get; set; }
        public int RecordId { get; set; }
        public decimal Code { get; set; }
        public byte Enter { get; set; }
        public float Temp { get; set; }
        public decimal Card { get; set; }
        public string Photo { get; set; }
        [NotMapped]
        public byte[] PhotoData { get; set; }
        public string Name { get; set; }

        public string DeviceSn { get; set; }
    }
}
